//
//  TestViewController_2.m
//  LKAnalyticsDemo
//
//  Created by Eric MiAo on 2018/7/30.
//  Copyright © 2018年 Eric MiAo. All rights reserved.
//

#import "TestViewController_2.h"
#import "LKAnalytics/LKAnalytics.h"

@interface TestViewController_2 ()

@end

@implementation TestViewController_2

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    [LKAnalytics beginLogPageView:@"第二页"];
}

- (void)viewDidDisappear:(BOOL)animated {
    [super viewDidDisappear:animated];
    [LKAnalytics endLogPageView:@"第二页"];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.title = @"第二页";
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
